﻿using System;
using System.ComponentModel.DataAnnotations;
using EPiBoost.Core.CustomProperties;
using EPiServer.Core;
using EPiServer.DataAbstraction;
using EPiServer.DataAnnotations;
using EPiServer.SpecializedProperties;
using EPiServer.Web;
using EPiServer.XForms;

namespace BoostSite.Demo.Definitions.Templates._reference
{
	internal class StringProperties
	{

		// ------------------------------------------------
		// PropertyString
		// ------------------------------------------------
		[Display(
			Name = "MainTitle",
			Description = "",
			GroupName = TabNames.Content,
			Order = 10)]
		public virtual string Heading { get; set; }


		// ------------------------------------------------
		// PropertyLongString
		// ------------------------------------------------
		[UIHint(UIHint.Textarea)]
		[Display(
			Name = "Intro",
			Description = "",
			GroupName = TabNames.Content,
			Order = 130)]
		public virtual string Intro { get; set; }


		// ------------------------------------------------
		// PropertyXhtmlString
		// ------------------------------------------------
		[Display(
			Name = "Main body",
			Description = "",
			GroupName = TabNames.Content,
			Order = 20)]
		public virtual XhtmlString MainBody { get; set; }



		// ------------------------------------------------
		// CustomProperty : PropertyStringList
		// ------------------------------------------------
		[Display(
			Name = "Keywords",
			Description = "",
			GroupName = TabNames.MetaData,
			Order = 200)]
		[CultureSpecific]
		[BackingType(typeof(PropertyStringList))]
		public virtual string[] MetaKeywords { get; set; }




	}
}
